package com.test.demo.mapper;

import com.test.demo.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author 涛
 * @since 2023-01-13
 */
public interface UserMapper extends BaseMapper<User> {

    public List<User> findUserByName(String name);

    public List<User> queryPage(Integer startRows , Integer size);

    //    批量删除
    public int dels(List<Integer> ids);
}
